﻿@model ThesisSystem.Models.Student

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <title>查看个人信息</title>
    <link href="@Url.Content("~/Content/CSS/Common.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/CSS/Account.css")" rel="stylesheet" type="text/css" />
</head>
<body>
    <div>
        <table class="tblStudentInfo">
            <tr>
                <th width="60">@Html.LabelFor(m=>m.StudentID)</th>
                <td width="120">@Html.DisplayFor(m=>m.StudentID)</td>
                <th width="60">@Html.LabelFor(m=>m.Name)</th>
                <td width="120">@Html.DisplayFor(m=>m.Name)</td>
                <td rowspan="4"><img id="photo" src="@Url.Content("~/Content/Photos/"+Model.UserID+".jpg")" onerror="javascript:this.src='@Url.Content("~/Content/Images/blank.jpg")'" height="120" width="90" /></td>
            </tr>
            <tr>
                <th>@Html.LabelFor(m=>m.Sex)</th>
                <td>@Html.DisplayFor(m=>m.Sex)</td>
                <th>@Html.LabelFor(m=>m.PostCard)</th>
                <td>@Html.DisplayFor(m=>m.PostCard)</td>
            </tr>
            <tr>
                <th>@Html.LabelFor(m=>m.Nationality)</th>
                <td>@Html.DisplayFor(m=>m.Nationality)</td>
                <th>@Html.LabelFor(m=>m.BirthPlace)</th>
                <td>@Html.DisplayFor(m=>m.BirthPlace)</td>
            </tr>
            <tr>
                <th>@Html.LabelFor(m => m.PoliticalLandscape)</th>
                <td>@Html.DisplayFor(m=>m.PoliticalLandscape)</td>
                <th>@Html.LabelFor(m=>m.Telephone)</th>
                <td>@Html.DisplayFor(m=>m.Telephone)</td>
            </tr>
            <tr>
                <th>@Html.LabelFor(m=>m.EducationalSystem)</th>
                <td>@Html.DisplayFor(m=>m.EducationalSystem)</td>
                <th>@Html.LabelFor(m=>m.EducationLevel)</th>
                <td colspan="2">@Html.DisplayFor(m=>m.EducationLevel)</td>
            </tr>
            <tr>
                <th>@Html.LabelFor(m=>m.AdmitProfessional)</th>
                <td>@Html.DisplayFor(m=>m.AdmitProfessional)</td>
                <th>@Html.LabelFor(m=>m.StudyProfessional)</th>
                <td colspan="2">@Html.DisplayFor(m=>m.StudyProfessional)</td>
            </tr>
            <tr>
                <th>@Html.LabelFor(m=>m.DepartmentID)</th>
                <td>@Html.DisplayFor(m=>m.Department.DepartmentName)</td>
                <th>@Html.LabelFor(m=>m.ClassID)</th>
                <td colspan="2">@Html.DisplayFor(m=>m.GClass.ClassName)</td>
            </tr>
            <tr>
                <th>论文指导教师</th>
                <td>@Html.DisplayFor(m=>m.Teacher.TeacherName)</td>
                <td colspan="3"></td>
            </tr>
            <tr>
                <th>@Html.LabelFor(m=>m.Remark)</th>
                <td colspan="4">@Html.DisplayFor(m=>m.Remark)</td>
            </tr>
        </table>
        <p>
            <a href="@Url.Action("Edit","Account")">编辑</a>
        </p>
    </div>
</body>
</html>
